// // 所有返回的基类
export interface Res<T> {
    code: number;
    data: T;
    msg?: string;
    // currentPage?: number;
    // pageSize?: number;
    // total?: number;
    // totalPage?: number;
}
export interface ResData<T> {
    code: number;
    data: T[];
    msg?: string;
    currentPage?: number;
    pageSize?: number;
    total?: number;
    totalPage?: number;
}
export interface ResList<T> {
    code: number;
    data: List<T>;
    msg?: string;
}
export interface List<T> {
    currentPage?: number;
    pageSize?: number;
    total?: number;
    totalPage?: number;
    list: T[];
}

export interface UrlInfoItf {
    urlAddres: string;
    urlId: number;
    urlLitimg: string;
    urlName: string;
    urlPass: number;
    urlReferral: string;
    urlType: number;
    webmasterEmail: string;
}

export interface AllArticleInfoItf {
    articleId: number;
    articleTitle: string;
    articleClassifyId: number;
    articleClassifyName: string;
    articleDase: string;
    articleImgLitimg: string;
    articleContent: string;
    articleState: number;
    articlePass: number;
    commentState: number;
    userId: number;
    userName: string;
    publishTime: string;
    click: number;
    review: number;
}
export interface AllClassifyInfo {
    articleNumber?: number;
    classifyId?: number;
    classifyIntroduce: string;
    classifyName: string;
    color1: string;
    color2: string;
}

export interface CommentType {
    commentId: number;
    articleId: number;
    userId: number;
    content: string;
    parentId: number;
    commentDate: string;
    articleTitle: string;
    userName: string;
}

export interface VisitInfoItf {
    city: string;
    id: number;
    ip: string;
    time: string;
}